{% extends "base.html" %}

{% block class %}people{% endblock %}

{% block main %}
<h3>Faculty</h3>
<dl>
	{% for object in faculty_list %}
	<dt>{{ object.user.username }}</dt>
	<img src="{{ object.get_avatar }}" />
	<dd>
		<ul class="profile">
			<li>email: {{ object.email }}</li>
			{% if not user.is_anonymous %}
				<li>blog: {{ object.blog }}</li>
				<li>cellphone: {{ object.cellphone }}</li>
				<li>room: {{ object.room }}</li>
				<li>birthday: {{ object.birthday }}</li>
				<li>birthplace: {{ object.birthplace }}</li>
			{% endif %}			
			<li>intro: {{ object.intro }}</li>
		</ul>
	</dd>
	{% endfor %}
</dl>

<h3>PhD Student</h3>
<dl>
	{% for object in phd_list %}
	<dt>{{ object.user.username }}</dt>
	<img src="{{ object.get_avatar }}" />
	<dd>
		<ul class="profile">			
			<li>email: {{ object.email }}</li>
			{% if not user.is_anonymous %}
				<li>blog: {{ object.blog }}</li>
				<li>cellphone: {{ object.cellphone }}</li>
				<li>room: {{ object.room }}</li>
				<li>birthday: {{ object.birthday }}</li>
				<li>birthplace: {{ object.birthplace }}</li>
			{% endif %}			
			<li>intro: {{ object.intro }}</li>
		</ul>
	</dd>
	{% endfor %}
</dl>

<h3>Master Student</h3>
<dl>
	{% for object in master_list %}
	<dt>{{ object.user.username }}</dt>
	<img src="{{ object.get_avatar }}" />
	<dd>
		<ul class="profile">			
			<li>email: {{ object.email }}</li>
			{% if not user.is_anonymous %}
				<li>blog: {{ object.blog }}</li>
				<li>cellphone: {{ object.cellphone }}</li>
				<li>room: {{ object.room }}</li>
				<li>birthday: {{ object.birthday }}</li>
				<li>birthplace: {{ object.birthplace }}</li>
			{% endif %}			
			<li>intro: {{ object.intro }}</li>
		</ul>
	</dd>
	{% endfor %}
</dl>

<h3>Alumni</h3>
<dl>
	{% for object in alumni_list %}
	<dt>{{ object.user.username }}</dt>
	<img src="{{ object.get_avatar }}" />
	<dd>
		<ul class="profile">			
			<li>email: {{ object.email }}</li>
			{% if not user.is_anonymous %}
				<li>blog: {{ object.blog }}</li>
				<li>cellphone: {{ object.cellphone }}</li>
				<li>room: {{ object.room }}</li>
				<li>birthday: {{ object.birthday }}</li>
				<li>birthplace: {{ object.birthplace }}</li>
			{% endif %}			
			<li>intro: {{ object.intro }}</li>
		</ul>
	</dd>
	{% endfor %}
</dl>
{% endblock %}